package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.OrderPurchaseTermsEntity;

/**
 * 采购订单与采购条款关联Service接口
 *
 * @author cxl
 * @date 2024-06-23
 */
public interface IOrderPurchaseTermsService extends IService<OrderPurchaseTermsEntity> {
    /**
     * 查询采购订单与采购条款关联
     *
     * @param id 采购订单与采购条款关联ID
     * @return 采购订单与采购条款关联
     */
    public OrderPurchaseTermsEntity selectOrderPurchaseTermsEntityById(String id);

    /**
     * 查询采购订单与采购条款关联列表
     *
     * @param orderPurchaseTermsEntity 采购订单与采购条款关联
     * @return 采购订单与采购条款关联集合
     */
    public List<OrderPurchaseTermsEntity> selectOrderPurchaseTermsEntityList(OrderPurchaseTermsEntity orderPurchaseTermsEntity);

    /**
     * 新增采购订单与采购条款关联
     *
     * @param orderPurchaseTermsEntity 采购订单与采购条款关联
     * @return 结果
     */
    public int insertOrderPurchaseTermsEntity(OrderPurchaseTermsEntity orderPurchaseTermsEntity);

    /**
     * 修改采购订单与采购条款关联
     *
     * @param orderPurchaseTermsEntity 采购订单与采购条款关联
     * @return 结果
     */
    public int updateOrderPurchaseTermsEntity(OrderPurchaseTermsEntity orderPurchaseTermsEntity);

    /**
     * 批量删除采购订单与采购条款关联
     *
     * @param ids 需要删除的采购订单与采购条款关联ID
     * @return 结果
     */
    public int deleteOrderPurchaseTermsEntityByIds(String[] ids);

    /**
     * 删除采购订单与采购条款关联信息
     *
     * @param id 采购订单与采购条款关联ID
     * @return 结果
     */
    public int deleteOrderPurchaseTermsEntityById(String id);
}
